<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@page import="java.net.URLDecoder"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%	String message = request.getParameter("message");
		if (message != null && !message.isEmpty()) {
				%>
					<div class="alert alert-error">
						<%
							out.println(URLDecoder.decode(message, "UTF-8") + "<br/>");
						%>	</div> 		<%	} %>
					
<% 	String error = request.getParameter("error");
		if (error != null && !error.isEmpty()) {
					%>
					<div class="alert alert-error">
						<%
							out.println(URLDecoder.decode(error, "UTF-8") + "<br/>");
						%> </div> <% } %>

<form class="" action="VoegStudentToe.do" method="get">
						<label>Voornaam: </label><input type="text" name="voornaam" /><br />
						<label>Achternaam: </label><input type="text" name="achternaam" /><br />

						<select name="afdeling">
							<option value="SE">SE</option>
							<option value="IE">IE</option>
							<option value="BIM">BIM</option>
							<option value="TI">TI</option>
							<option value="SB">SB</option>
						</select><br/>

						<label>E-mail:</label><input type="text" name="email" /><br />
						 <label>Wachtwoord:</label><input type="password" name="wachtwoord" /><br /> 
						<label>Wachtwoord bevestigen: </label><input type="password" name="wachtwoordcheck" /><br />
						<button type="submit" class="btn">Submit</button>
					</form>

</body>
</html>